﻿/* 默认样式  */

input[type="submit"], input[type="reset"], input[type="button"] {
	color: #4c82a8;
	background:#fff url(buttonBg.png) repeat-x 0 0;
	cursor: pointer;
	background-position:0 0x;
	*background-position:0 -100px;
	padding-left: 8px;
	padding-right: 7px;
	height:24px;
	border: 1px solid #667788;
	border-color: #c3ced9 #afbac5 #99a6b4 #b9c4cf;
	-moz-border-radius: 1px;
	vertical-align:middle;
	border-radius:3px;
	box-shadow:0px 1px 1px rgba(0, 0, 0, 0.05);
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover,
input[type="submit"]:focus, input[type="reset"]:focus, input[type="button"]:focus{
	border-color: #ccaa22;
	color:#775511;
	box-shadow:0px 1px 2px rgba(30, 20, 0, 0.2);
	background-position:0 -30px;
	*background-position:0 -130px;
}
input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	color:#aa7700;
	border-color: #cc9900;
	background-position:0 -30px;
	*background-position:0 -130px;
	box-shadow:inset 0 1px .5em rgba(200, 150, 66, .5), inset 0 1px 1em rgba(0, 0, 0, .2);
}
input[type="text"], input[type="password"] {
	color: #336699;
	/*background: url(text_bg.gif) #F7FAFC repeat-x left top;*/
	border: 1px solid #6688AA;
	border-color: #9ab #cde #cde #abc;
	padding:3px 2px 3px;
	vertical-align:middle;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
input {
	margin: 0;
	vertical-align: middle;
	color: #114477;
}
input[type="text"], input[type="password"] {
	color: #336699;
	/*background: url(text_bg.gif) #F7FAFC repeat-x left top;*/
	border: 1px solid #6688AA;
	border-color: #9ab #cde #cde #abc;
	padding:3px 4px 3px;
	vertical-align:middle;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	line-height: 16px;
}
input[type="text"]:hover, input[type="password"]:hover {
	border-color: #EEBB00;
}
input[type="text"]:focus, input[type="password"]:focus {
	color:#147;
	border-color: #66AFE9;
	background-color:#F7FAFC;
	outline:1px solid rgba(102, 175, 233, 0.3);
}
input[type="submit"], input[type="reset"], input[type="button"] {
	color: #4c82a8;
	cursor: pointer;
	padding-left: 8px;
	padding-right: 7px;
	line-height:1.66;
	border: 1px solid #667788;
	border-color: #c3ced9 #afbac5 #99a6b4 #b9c4cf;
	-moz-border-radius: 1px;
	vertical-align:middle;
	border-radius:3px;
	-webkit-appearance: button;
	cursor: pointer;
	font-weight:400;
}
input.btn[type="submit"], input.btn[type="reset"], input.btn[type="button"]{
	line-height:1.14;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover,
input[type="submit"]:focus, input[type="reset"]:focus, input[type="button"]:focus{
	border-color: #2AC;
	color:#775511;
}
input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	color:#aa7700;
	border-color: #cc9900;
	box-shadow:inset 0 1px .5em rgba(200, 150, 66, .5), inset 0 1px 1em rgba(0, 0, 0, .2);
}
input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled], input[type="submit"][disabled]:hover, input[type="reset"][disabled]:hover, input[type="button"][disabled]:hover {
	background-color:#F5F5F5;
	border-color: #ddd;
	color:#ccc;
	box-shadow:none;
	cursor: default;
}
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled{
	cursor: not-allowed;
}
input[type="image"] {
	padding: 0;
	margin: 0;
	border: none;
}
input[type="file"] {
	*height:21px;
	background:#F7FAFC url(text_bg.gif) repeat-x left top;
	border: 1px solid #667788;
	margin: 0;
	vertical-align:middle;
}
input[type="checkbox"] {
	box-sizing: border-box;
	padding: 0;
	margin: 0 3px 0 0;
	*margin: -2px 0 -1px -2px;
}
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	margin: 1px 3px 0 0;
	*margin: -2px 0 -1px -2px;
}
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}